import request from '@/utils/request.js'
// 裁片入库-根据款式读取裁片入库物料列表
export const getCuttingList = (params) => {
  return request.post('ProductManager/KCClient/GetCuttingMaterielDetailByStyle', params)
}
// 读取今日最新面料入库列表
export const getStockList = (params) => {
  return request.post('ProductManager/KCClient/GetCuttingInStockListByUserFlnkID', params)
}
// 读取入库单
export const getKCNumber = (params) => {
  return request.get('ProductManager/ProductCommon/GetKCNumber', {params: params})
}
// 裁片入库记账
export const inStorage = (params) => {
  return request.post('ProductManager/KCClient/SaveCuttingInStock', params)
}
// 裁片入库-读取裁片入库明细的存货标签
export const getFabricInStockDesign = (params) => {
  return request.post('ProductManager/KCClient/GetCuttingInStockDesignByStock', params)
}
// 裁片入库-读取裁片入库明细的存货标签箱包
export const getFabricInStockDesignXB = (params) => {
  return request.post('ProductManager/KCClient/GetCuttingInStockDesignByStockXB', params)
}
// 裁片入库-读取裁片入库明细的存货标签
export const GetShopCuttingInStockDesignByStock = (params) => {
  return request.post('ProductManager/CuttingClient/GetShopCuttingInStockDesignByStock', params)
}
// 公共接口-根据垛号读取库存记录列表
export const getProductStockListByBarCode = (params) => {
  return request.post('ProductManager/KCClient/GetProductStockListByBarCode', params)
}
// 根据款式物料读取入库物料明细列表
export const getMatterDetailList = (params) => {
  return request.post('ProductManager/KCClient/GetBomMaterielDetailByMateriel', params)
}
// 读取今日最新輔料入库列表
export const getflStockList = (params) => {
  return request.post('ProductManager/KCClient/GetTodayStockListByUserFlnkID', params)
}
// 辅料入库记账
export const inflStorage = (params) => {
  return request.post('ProductManager/KCClient/SaveAccessoriesInStock', params)
}
// 读取面料入库明细的存货标签列表
export const getFabricInflStockDesign = (params) => {
  return request.post('ProductManager/KCClient/GetAccessoriesInStockDesignByStock', params)
}
// 公共接口-根据存货表的FLnkID读取库存记录
export const getStockInfoByFlnkID = (params) => {
  return request.post('ProductManager/KCClient/GetStockInfoByFlnkID', params)
}
// 面料入库记账
export const inmlStorage = (params) => {
  return request.post('ProductManager/KCClient/SaveFabricInStock', params)
}
// 读取面料入库明细的存货标签列表
export const getFabricInmlStockDesign = (params) => {
  return request.post('ProductManager/KCClient/GetFabricInStockDesignByStock', params)
}
